package com.open.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.open.system.dao.LoanApplyDao;
import com.open.system.domain.LoanApplyDO;
import com.open.system.service.LoanApplyService;



@Service
public class LoanApplyServiceImpl implements LoanApplyService {

	@Autowired
	private LoanApplyDao loanApplyDao;
	
	@Override
	public LoanApplyDO get(Long id){
		return loanApplyDao.get(id);
	}
	
	@Override
	public List<LoanApplyDO> list(Map<String, Object> map){
		return loanApplyDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return loanApplyDao.count(map);
	}
	
	@Override
	public int save(LoanApplyDO loanApply){
		return loanApplyDao.save(loanApply);
	}
	
	@Override
	public int update(LoanApplyDO loanApply){
		return loanApplyDao.update(loanApply);
	}
	
	@Override
	public int remove(Long id){
		return loanApplyDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return loanApplyDao.batchRemove(ids);
	}

	@Override
	public int updateHasemptyById(Long id){
		return loanApplyDao.updateHasemptyById(id);
	}

	@Override
	public int refuse(Long id){
		return loanApplyDao.refuse(id);
	}

}
